package com.opencloud.ywt.client.model.entity;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.Date;

/**
 * 城市信息
 * @author yeyong
 */
@TableName("bhyf_city")
public class BhyfCity implements Serializable {

    private static final long serialVersionUID= -964202352621690483L;

    /**
     * 城市ID
     */
    @TableId(value = "cityid")
    @ApiModelProperty(value = "城市ID")
    private Integer cityid;

    /**
     * 城市名称
     */
    @ApiModelProperty(value = "城市名称")
    private String cityname;

    /**
     * 邮编
     */
    @ApiModelProperty(value = "邮编")
    private String zipcode;

    /**
     * 省ID
     */
    @ApiModelProperty(value = "省ID")
    private Integer provinceid;

    @TableField(fill = FieldFill.INSERT)
    private Date datecreated;

    @TableField(fill = FieldFill.INSERT)
    private Date dateupdated;


    public Integer getCityId() {
        return cityid;
    }

    public void setCityid(Integer cityid) {
        this.cityid = cityid;
    }

    public Integer getProvinceid() {
        return provinceid;
    }

    public void setProvinceid(Integer provinceid) {
        this.provinceid = provinceid;
    }

    public String getZipcode() {
        return zipcode;
    }

    public void setZipcode(String zipcode) {
        this.zipcode = zipcode;
    }

    public Date getDatecreated() {
        return datecreated;
    }

    public void setDatecreated(Date datecreated) {
        this.datecreated = datecreated;
    }

    public Date getDateupdated() {
        return datecreated;
    }

    public void setDateupdated(Date dateupdated) {
        this.dateupdated = dateupdated;
    }

    public String getCityName() {
        return cityname;
    }

    public void setCityname(String cityname) {
        this.cityname = cityname;
    }


    @Override
    public String toString() {
        return "BhyfCity{" +
                "cityid=" + cityid +
                ", cityname=" + cityname +
                ", zipcode=" + zipcode +
                ", provinceid=" + provinceid +
                ", datecreated=" + datecreated +
                ", dateupdated=" + dateupdated +
                "}";
    }
}
